/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.property;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author yakup
 */
public class Estate {

    public Estate() {
        
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean  getIsConstruction() {
        return isConstruction;
    }

    public void setIsConstruction(boolean  isConstruction) {
        this.isConstruction = isConstruction;
    }

    public boolean  getIsCountryside() {
        return isCountryside;
    }

    public void setIsCountryside(boolean  isCountryside) {
        this.isCountryside = isCountryside;
    }

    public int getPerceptOfConstruction() {
        return perceptOfConstruction;
    }

    public void setPerceptOfConstruction(int perceptOfConstruction) {
        this.perceptOfConstruction = perceptOfConstruction;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Estate(int id, String type, int price, boolean isConstruction, boolean isCountryside, int perceptOfConstruction,List<String> imageArray, String district, String province,  String address, String agentId, String customerId,String description) {
        this.id = id;
        this.type = type;
        this.price = price;
        this.isConstruction = isConstruction;
        this.isCountryside = isCountryside;
        this.perceptOfConstruction = perceptOfConstruction;
        this.agentId = agentId;
        this.customerId = customerId;
        this.province = province;
        this.district = district;
        this.address = address;
        this.imageList = new LinkedList<String>();
        this.imageList = imageArray;
        this.description = description;
    }
    private int id;
    private String type;
    private int price;
    private boolean isConstruction;
    private boolean isCountryside;
    private int perceptOfConstruction;
    private String agentId;
    private String customerId;
    private String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getImageList() {
        return imageList;
    }

    public void setImageList(List<String> imageList) {
        this.imageList = imageList;
    }
    private List<String> imageList = new LinkedList<String>() {};

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    private String district;
    private String province;
    private String address;
    
    
    
    
    
            
     
    
}
